<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        // &&逻辑与 一假则假
         console.log(true && true); //true
        console.log(true && false); //false
        console.log(false && false);//false
        //逻辑或 一真则真
         console.log(true || true); //true
        console.log(true || false); //true
        console.log(false || false);//false
    </script>
</body>

</html>